home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / PowerFantasm™ / PowerFantasm Documentation / PF User Manual 4 unreg.srd / PF User Manual 4 unreg.srd.rsrc / PICT_73.png < prev    next >
Portable Network Graphic  |  1997-05-21  |  83KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | reckoner | sky
OCR: When thyaim1997is run takes the sizeotaferthbut 401/9e anciBex its value to set up the cotlge segment correctly vou op not have to know the size of your global variables If we now take the previous code example coded for t the a5 becomes: data globoff *date pord data globoff. *date long my pb: globoff.b 100 My parameter block is100 bytes. clr.l op move.w do data 1(a5 *init variables move.l op ,data 2(a5 etc etc Notes: 1.There nalobreset directive as the global counter is reset on each pass of the ass .As you can see there is no explicitly defined data area as it is set up when the prog launched hence 'keeping it out of your code The data area reserved (below a5 IS not initialised there are two methods to initia variables The first explicitly as above (move W op data 1(a5) etc). The second ...